#! /usr/bin/env python3.6

# dict like map

students = {}
names = ['zhangboping', 'xiaoming', 'xiaohong', 'xiaofang']
ages = [1,2,3,4]

for key in names:
    students[key] = ages[names.index(key)]

print('student dict is : ', students)